package com.wzbc.video.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wzbc.video.entity.User;
import com.wzbc.video.req.UserSearchReq;

public interface UserService extends IService<User> {
    IPage<User> myList(UserSearchReq req);
    Integer validateUsername(String username);
    Long validateLogin(String username,String password);
    Integer insert(User user);
    Integer update(User user);
    User getInfo(Long id);
    Integer deleteById(Long id);

}
